package gameEngine;

/**
 * @author Igor Adamski
 *
 */
public enum GameMessage {
	OK {
		@Override
		public String toString() {
			return "";
		}
	}, TIME_LIMIT_EXCEEDED {
		@Override
		public String toString() {
			return "Przekroczony limit czasu";
		}
	}, NETWORK_CONNECTION_PROBLEM {
		@Override
		public String toString() {
			return "Problem z łącznością: " + desc;
		}
	}, GAME_STARTED {
		@Override
		public String toString() {
			return "";
		}
	}, WRONG_MOVE {
		@Override
		public String toString() {
			return "Błędny ruch: " + desc;
		}
	};
	private static String desc;
	public static void description(String d) {
		desc = d;
	}
}
